package com.cee.service;

import com.cee.dto.JudgeDTO;
import com.cee.model.Judge;

import java.util.List;

public interface JudgeService {

    int saveJudge(Judge judge) throws Exception;


    /**
     * 查询列表
     * @param judgeDTO
     * @return
     */
    List<JudgeDTO> getJudgeList(JudgeDTO judgeDTO);


    /**
     * 逻辑删除， del_date_time = now
     * @param id
     */
    void  deleteJudge(Integer id);


    /**
     * examId查询List
     * @param examId
     * @return
     */
    List<JudgeDTO> getListByExamId(Integer examId);
}
